
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/Lib)

aux_source_directory(. SRC_FILES)
aux_source_directory(basic SRC_FILES)
aux_source_directory(httpSvr SRC_FILES)
aux_source_directory(httpSvr/router SRC_FILES)

add_library(wheels-cpp SHARED ${SRC_FILES})
add_library(wheels-cpp_static STATIC ${SRC_FILES})
set_target_properties(wheels-cpp_static PROPERTIES OUTPUT_NAME wheels-cpp)

#add_library(wheels-cpp STATIC ${SRC_FILES})
INSTALL (TARGETS wheels-cpp_static ARCHIVE DESTINATION /usr/lib)
INSTALL (TARGETS wheels-cpp LIBRARY DESTINATION /usr/lib)
